﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using BUS;
using DTO;

namespace FastDeal.DoanhNghiep
{
    public partial class WebForm1 : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (Session["DaDangNhap"] == null || (bool)Session["DaDangNhap"] == false)
            {
                Response.Redirect("~/Default.aspx");
            }
            else if((int)Session["LoaiThanhVien"] != 3)
            {
                Response.Redirect("~/Default.aspx");
            }

            Page.Title = "ohMua! Thêm Khuyến Mãi Mới";
        }

        
    }
}